<?php

namespace app\common\library;

use support\Log;

class Delay
{
    public static function sleepp($time = 1)
    {
        try {
            Curl::get('https://webapi.yinghuasuan.com/delay/sleepp?time=' . $time);
        } catch (\Throwable $e) {
            Log::channel('star')->error('delay', ['msg' => $e->getMessage()]);
        }
    }
}